package com.auto.survey.measurecontroller

import com.auto.survey.activity.monitoring.entity.MonitoringPoint
import com.auto.survey.activity.monitoring.entity.MonitoringPointCtrlObservation
import kotlin.properties.Delegates

/**
 * 为MonitoringPoint添加扩展属性
 * 用于存储重试次数和观测记录列表
 */
var MonitoringPoint.retryCount: Int by Delegates.notNull<Int>()
var MonitoringPoint.observations: MutableList<MonitoringPointCtrlObservation>
        by Delegates.observable(mutableListOf()) { _, _, _ -> }